www.gusucode.com > 基于Matlab的MIMO通信系统仿真 含报告;司中威;了解移动通信 > 基于Matlab的MIMO通信系统仿真 含报告;司中威;了解移动通信关键技术,了解数字通信系统仿真流程,实现基本的信道编译码、调制解调等通信模块。(好评如潮,课设拿满) 学习并实现MIMO空时处理技术 学习性能分析的思路和方法/mimo/matlab for mimo 2x2/chain.m

    % Simulation
% By Maxime Maury
% 05-04-21

% Type of different detectors, parameters for Detector.m 
ML = 1; % Joint ML Detector
JMMSE = 2; % Joint MMSE Detector
ZF = 3; % Joint Zero-Forcing Detector

% Type of different antenna selection criteria methods 
MBER = 1;
MMI = 2;
LAZY = 3;
MNP = 4; %Minimum Noise Power
MMNP = 5;
LAZY2 = 6;

real_ch = 0; % real_ch = 0 refers to simulated channel in MATLAB, otherwise refers to real channel
SNR_dB = 20;% transmit SNR in the simulated channel
nr_frames = 20; % number of frames sent when simulation.
detect_type = ZF; % Detector choice
select_type = MBER; % Antenna selection choice

disp('');

tx(nr_frames);
disp('Press any key to continue');
pause

RF(real_ch,SNR_dB);
disp('Press any key to continue');
pause

BER = rx(detect_type,select_type);